using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;

namespace Stormwind.Core.Faults {
	/// <summary>
	/// Indicates that the specified data broker (app.config) was not found.
	/// </summary>
	public class DataBrokerTypeNotFoundException : ArgumentNullException {
		/// <summary>
		/// Default constructor.
		/// </summary>		
		public DataBrokerTypeNotFoundException()
			: base("DataBroker") {
		}
		/// <summary>
		/// Default constructor with message.
		/// </summary>
		/// <param name="message">Message to display.</param>
		public DataBrokerTypeNotFoundException(string message)
			: base("DataBroker", message) {
		}
		/// <summary>
		/// Default constructor with message and inner exception.
		/// </summary>
		/// <param name="message">Message to display.</param>
		/// <param name="innerException">Inner exception.</param>
		public DataBrokerTypeNotFoundException(string message, Exception innerException)
			: base(message, innerException) {
		}
		/// <summary>
		/// Serialization constructor.
		/// </summary>
		/// <param name="info">Default argument.</param>
		/// <param name="context">Default argument.</param>
		protected DataBrokerTypeNotFoundException(SerializationInfo info, StreamingContext context)
			: base(info, context) {
		}
	}
}
